import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '*',
      name: 'Error',
      component:resolve => require(['@/pages/Error'],resolve),  
    },
    {
      path: '/',
      name: 'index',
      component:resolve => require(['@/pages/index'],resolve),  
    },
    {
      path: '/msg_onepage',
      name: '关于我们',
      component:resolve => require(['@/pages/msg_onepage'],resolve),	
    },
    {
      path: '/list_product',
      name: '服务项目',
      component:resolve => require(['@/pages/list_product'],resolve),	
    },
    {
      path: '/list_article',
      name: '文章列表',
      component:resolve => require(['@/pages/list_article'],resolve),	
    },
    {
      path: '/list_picture',
      name: '精彩案例',
      component:resolve => require(['@/pages/list_picture'],resolve),	
    },
    {
      path: '/list_team',
      name: '设计团队',
      component:resolve => require(['@/pages/list_team'],resolve),	
    },
    {
      path: '/msg_contact',
      name: '联系我们',
      component:resolve => require(['@/pages/msg_contact'],resolve),  
    },
    {
      path: '/msg_article',
      name: '列表详情',
      component:resolve => require(['@/pages/msg_article'],resolve),  
    },    
    {
      path: '/msg_product',
      name: '产品详情页',
      component:resolve => require(['@/pages/msg_product'],resolve),  
    },   
    {
      path: '/msg_picture',
      name: '案例详情页',
      component:resolve => require(['@/pages/msg_picture'],resolve),  
    },
  ]
});